package digui;

public class RecursinTest {

    public  static  void main(String [] args){
         int sum =    recursin(4);
         System.out.println(sum);
    }

    public static  int recursin(int n){
        if(n==1){
            return 1;
        }else{
            return n *recursin(n-1);
        }
    }
}
